<?php if(empty($_SESSION ))
{
	session_start();
	
	if(empty($_SESSION["login"]))
	{
		echo '<script>window.parent.location.href="index.php";</script>';
	}
}
?>